package com.skype.test;

import java.io.Serializable;
import java.util.Iterator;
import java.util.Random;
import java.util.concurrent.ConcurrentHashMap;
import java.util.concurrent.ConcurrentLinkedQueue;
import java.util.concurrent.ConcurrentSkipListMap;
import java.util.concurrent.locks.Lock;
import java.util.concurrent.locks.ReentrantLock;




public final class ContactService implements Serializable{
	private static final long serialVersionUID = 5216546407946170724L;
	private final static ContactService instance = new ContactService(); 
	
	public final static ConcurrentHashMap<String,String> focusedContact=new ConcurrentHashMap<String,String>();
	
	public String getFocusedContact(){
		String contact=focusedContact.get("FocusedContact");
		return contact;
	}
	public void setFocusedContact(String contact){
		focusedContact.put("FocusedContact",contact);
	}
 	public final static synchronized ContactService getInstance(){ 
		return instance; 
	} 	

}
